<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="java.util.*" %>
<%@ page import="com.ionglobal.db.*" %>
<%@ page import="com.ionglobal.lib.*" %>
<%@ include file="../init_include.jsp" %>
<%
	int catid=0;
	if(request.getParameter("catid")!=null)
		catid=Integer.parseInt(request.getParameter("catid"));
	String linkTop="showHeadr.jsp?catid="+catid;
	String permissionStr=Permission.getPermissionStr(dbi,session,catid);
	boolean CanItemBro=PermissionItem.Can(permissionStr,PermissionItem.ItemBro);
	boolean CanCategoryBro=PermissionItem.Can(permissionStr,PermissionItem.CategoryBro);
	if(CanItemBro)
		response.sendRedirect("../cms/showArchiveInfo.jsp?catid="+catid);
	else {
		if(CanCategoryBro)
			response.sendRedirect("../cms/showCateInfo.jsp?catid="+catid);
		else			
			response.sendRedirect("../deny.html");
	}		
%>
<!--
<html>
<head>
<title>Manage System</title>
<meta http-equiv="Content-Type" content="text/html; charset=<%=Language.getHTMLLanguageStr()%>">
</head>

<frameset rows="75,429*"  cols="*"> 
  <frame name="topFrame"  src="<%=linkTop %>" APPLICATION="yes">
  <frame name="bottomFrame" src="sys_bottom.html" APPLICATION="yes">
</frameset>
<noframes><body class="bgcolor_title_tr">
sorry, this browser don't support frame!
</body></noframes>
</html>
-->
<%@ include file="../init_free.jsp" %>
